package com.tangmin.factory;/**
 * @ClassName StaticFactory
 * @Description TODO
 * @date 2021/9/17 20:48
 * @Version 1.0
 */

import com.tangmin.dao.UserDao;
import com.tangmin.dao.impl.UserDaoImpl;

/**
 * 工厂静态方法实例化Bean类
 *
 * @author YourName
 * @date 2021-09-17 20:48
 **/
public class StaticFactory {
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
